<?php
// +----------------------------------------------------------------------
// | Amicool-MVC [ Dynamic Flexible Agile Devlepment]
// +----------------------------------------------------------------------
// | Copyright (c) 2015-2020 http://amicool.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 郡笑笙 <iamzjs@126.com>
// +----------------------------------------------------------------------
class Controller{
	private $model;
	private $view;
	function __Construct(){
		
		$this->view = new ViewModel($_GET['c'].'/'.$_GET['m']);
	}

	function display() {
		$this->view->display();
	}
	function assign($variable, $value) {
		$this->view->assign($variable, $value);
	}
}
?>